<template name="tpl_28">
  <view class="floor-layout tpl-28">
    <view class="layout-main">
      <swiper indicator-dots="true" indicator-active-color="#007aff" circular="true" >
        <swiper-item v-for="(block, index) in item.blockList" :key="index">
          <view class="layout-item">
            <view @click="blockHref(block)">
              <image v-if="block.block_type === 'IMAGE'" :src="block.block_value" mode="widthFix"></image>
            </view>
          </view>
        </swiper-item>
      </swiper>
    </view>
  </view>
</template>

<script>
    import mixin from '@/common/mixin.js'
	export default {
        mixins: [mixin],
        props:{
            item: Object
        }
	}
</script>
